<template>
  <div class="sign">
    <!-- <div>签字pdf(下面是签字组件)</div> -->
    
    <any-sign ref="anySign" @getSignInfo="submit"  :signer-info="signerInfo" ></any-sign>
    <!-- <any-sign @getSignInfo="submit"  :signer-info="signerInfo"></any-sign>
    <any-sign @getSignInfo="submit"  :signer-info="signerInfo"></any-sign> -->
    
    <div @click="showCommentDialog(20)">签字pdf（上面是签字组件）</div> 
  </div>
</template>
<script>
  // eslint-disable-next-line
  /* eslint-disable */
import anySignMiniCore from '@/components/anySignMiniCore.vue'
// import anySignMiniCore from '@/components/anySignMiniCoreNew.vue'
// import anySign from '@/components/anySign.vue'
  export default {
    data() {
      return {
        signerInfo : {
          userName : "李大",
          idNo : "123456"
        },
        showFlag : {
          signBtnName : "other1"
        }
      }
    },
    components: {
      'any-sign' : anySignMiniCore
      // 'any-sign' : anySign
    },
    created() {
    },
    methods: {
      showCommentDialog(id) {
         this.$refs.anySign.popupDialog(id)
      },
      submit(data){
        // console.log("接收数据"+JSON.stringify(data))
        console.log(data.signData)
      }
    }
  }
</script>

<style lang="less" scoped>
</style>